﻿using Mengsk.ProxyDelivery.Domain;
using Mengsk.ProxyDelivery.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mengsk.ProxyDelivery.App.UI.Delivery
{
    class DeliveryTemplateVM
    {
        public DeliveryTemplate Source { get; set; }

        public string Description { get { if (this.Source == null) return ""; return EnumUtil.GetEnumValueDescription(this.Source.Type) +"---"+ this.Source.Name; } }

        public string Edit { get { return "编辑"; } }

        public string Delete { get { return "删除"; } }
    }
}
